﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MDT.LifeSewagePlatform.Entity.View
{
    /**
    * 命名空间: MDT.LifeSewagePlatform.Entity.View
    *
    * 功 能： N/A
    * 类 名： IpAddressView
    *
    * Ver 变更日期 负责人 变更内容
    * ───────────────────────────────────
    * V0.01 2022/2/14 16:10:12 
    *
    *┌──────────────────────────────────┐
    *│　***************************************************．　│
    *│　**********************　　　　　　　　　　　　　　│
    *└──────────────────────────────────┘
*/
    ///192.168.100.100
    public class IpAddressView
    {
        /// <summary>
        /// ip地址
        /// </summary>
        public long IpAddress { get; set; }
        /// <summary>
        /// 是否是糟糕的ip
        /// </summary>
        public bool IsBad { get; set; }
        /// <summary>
        /// 没分组访问次数
        /// </summary>
        public float VisitCountPreMinute { get; set; }

        private bool isDelete = false;
        public virtual DateTime CreationTime { get; set; }
        public virtual DateTime LastModificationTime { get; set; }
        public virtual int? LastModifierId { get; set; }
        public virtual bool IsDelete { get { return isDelete; } set { isDelete = value; } }
        public virtual int? DeleterId { get; set; }
        public virtual DateTime DeletionTime { get; set; }
        public string IpView { get; set; }
        public int Id { get; set; }
        public int VisitCount { get; set; }
        public string Description { get; set; }
    }
}
